pull: cache summary and summary.sig
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 11 Mar 2016 11:39:32 +0000 (12:39 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 15 Mar 2016 08:48:47 +0000 (09:48 +0100)
commit58b48424bcf854e6c4cbb4b529ae2266f17b5883
tree696b9b5a1072331fdbbf0fe73c5aaccd970e9175
parenta98133072d0f44ac18a9a70669b0ffcd509620b8
pull: cache summary and summary.sig

It allows an optimization to skip the download of the summary file
if its .sig file is unchanged.

Downloading the .sig file is much cheaper than downloading the summary
file from repositories with many branches.

https://bugzilla.gnome.org/show_bug.cgi?id=762973

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c